<template>
	<div>
		<Header/>
		<!-- 导航区域 -->
		<div class="col-xs-2 col-xs-offset-2">
			<router-link 
				class="list-group-item" 
				active-class="atguigu" 
				:to="{path:'/about'}"
			>
				About
			</router-link>
			<router-link 
				class="list-group-item" 
				active-class="atguigu" 
				:to="{path:'/home'}"
			>
				Home
			</router-link>
		</div>
		<!-- 展示区 -->
		<div class="col-xs-6 panel-body">
			<router-view></router-view>
		</div>
	</div>
</template>

<script>
	import Header from './components/Header.vue'
	export default {
		name:'App',
		components:{Header}
	}
</script>

<style>
	.atguigu{
		background-color: gray !important;
		color: orange !important;
		font-weight: 600;
	}
</style>